package online.misscl.lsy.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 咨询公告表
 * </p>
 *
 * @author misscl
 * @since 2023/03/16 23:17
 */
@Getter
@Setter
@TableName("consultation_announcement")
@ApiModel(value = "ConsultationAnnouncement对象", description = "咨询公告表")
public class ConsultationAnnouncement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("咨询公告id")
    @TableId(value = "consultation_announcement_id", type = IdType.AUTO)
    private Integer consultationAnnouncementId;

    @ApiModelProperty("公告标题")
    @TableField("announcement_title")
    private String announcementTitle;

    @ApiModelProperty("公告封面")
    @TableField("announcement_cover")
    private String announcementCover;

    @ApiModelProperty("公告类别")
    @TableField("announcement_type")
    private String announcementType;

    @ApiModelProperty("公告内容")
    @TableField("announcement_content")
    private String announcementContent;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("创建者")
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty("更新时间")
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("更新者")
    @TableField(value = "update_by",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty("是否删除")
    @TableField("del_flag")
    private String delFlag;


}
